package com.ct.mapper.kkrot_uniondata;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ct.model.entity.HainanSpecialTransRecord;
import com.ct.model.entity.HainanSpecialTransTotal;
import com.ct.model.vo.HainanSpecialTransTotalVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@DS("kkrot_uniondata")
@Repository
public interface HainanSpecialTransRecordMapper extends BaseMapper<HainanSpecialTransRecord> {
     List<HainanSpecialTransTotalVo> fanRuanStatistics(@Param("startTime")String startTime,
                                                       @Param("endTime") String endTime);

     List<HainanSpecialTransTotalVo> fanRuanStatisticsByDay(@Param("startTime")String startTime,
                                                       @Param("endTime") String endTime);
}